package ooday01.demo;

public class Car02 {
    String brand;
    String score;
    double price;
    Car02(){
    }
    Car02(String brand,String score,double price){
        this.brand=brand;
        this.score=score;
        this.price=price;
    }
    void start(){
        System.out.println(brand+"牌子的"+score+"颜色的"+price+"块钱的车子启动了...");
    }
    void run(){
        System.out.println(brand+"牌子的"+score+"颜色的"+price+"块钱的车子跑了...");
    }
    void stop(){
        System.out.println(brand+"牌子的"+score+"颜色的"+price+"块钱的车子停止了");
    }
}
